﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CoreRay
{
    [Serializable]
    public class BvhTreeNodeData
    {
        public BvhTreeNodeData(BoundingBox boundingBox)
        {
            // Init properties
            this.BoundingBox = boundingBox;
        }

        public BoundingBox BoundingBox
        {
            get;
            set;
        }

        public bool IsLeafNode
        {
            get;
            set;
        }

        public int TrianglesIndex
        {
            get;
            set;
        }

        public int TrianglesCount
        {
            get;
            set;
        }
    }
}
